package com.liumuxian.exam.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "tb_examinfo")
public class ExamInfo implements Serializable{
    @Id
    @Column(name = "id",length = 20)
    private String id;
    @Column(name = "name",length = 100)
    private String name;
    @Column(name = "total",length = 20)
    private Long total;
    @Column(name = "count")
    private int count;
    @Column(name = "isanswer")
    private String isanswer;//是否看答案
    @Column(name = "isanalytical")
    private String isanalytical;//是否看解析
    @Column(name = "type",length = 1)
    private String type;
    @Column(name = "state",length = 1)
    private Integer state;//状态
    @Column(name = "creatdate")
    private Date creatdate;
    @Column(name = "updatedate")
    private Date updatedate;

}
